// 任务界面翻译文件
const info = {
    ZH: {  //中文翻译
        title: "任务列表",
        search: {
            placeholder: "请输入内容",
            searchBtn: "搜索",
            resetBtn: "重置",
            projectCreated: "新建任务"
        },
        table: {
            index: "序号",
            name: "名称",
            project_name: "项目名",
            descript: "描述",
            hostName: "主机名称",
            hostIP: "主机IP",
            time: "时间",
            operation: "操作",
            expand: {
                title: "关联爬虫",
                index: "序号",
                name: "名称",
                descript: "描述",
                state: "状态",
                warning: "告警",
                warningDetail: "告警详情",
                reptileStart: "批量开启爬虫",
                stateBtn: {
                    start: '启动',
                    stop: "停止"
                },
                no_reptile: "暂无关联爬虫",

            },
            noReptile: "暂无关联爬虫"
        },
        btn: {
            setup_time: "配置时间",
            editor: "编辑",
            delete: "删除",
            batch_task: "批量开启任务",
            sure: "确定",
            cancel: "取消",
            delSure: "删除后将不能恢复！请谨慎操作",
            copy: "复制",
            copySure: "确定复制该任务吗？",
            closeSure: "确定关闭任务吗？",
            start: "启动",
            stop: "暂停"
        },
        options: [
            { id: 1, name: "名称" },
            { id: 2, name: "描述" },
            { id: 3, name: "主机名称" },
            { id: 4, name: "主机IP" },
        ],
        message: {
            selectReptile: "请先选择要开启的爬虫",
            startRepSuccess: "爬虫开启成功",
            startRepError: "爬虫开启失败",
            selectTask: "请先选择要开启的任务",
            startTaskSuccess: "任务开启成功",
            startTaskError: "任务开启失败",
            del_success: "删除成功！",
            del_error: "删除失败！",
            copy_success: "复制成功！",
            copy_error: "复制失败！",
            close_succ: "关闭任务成功！",
            close_err: "关闭任务失败！"
        }
    },
    EN: {  //英文翻译
        title: "The task list",
        search: {
            placeholder: "Please enter the content",
            searchBtn: "Search",
            resetBtn: "Reset",
            projectCreated: "New task",

        },
        table: {
            index: "Index",
            name: "Name",
            project_name: "Project name",
            descript: "Descript",
            hostName: "Host name",
            hostIP: "Host IP",
            time: "time",
            operation: "Operation",
            expand: {
                title: "Associated with the crawler",
                index: "Index",
                name: "Name",
                descript: "Descript",
                state: "State",
                warning: "Warning",
                warningDetail: "Warning details",
                reptileStart: "Batch start crawler",
                stateBtn: {
                    start: 'Start',
                    stop: "Stop"
                },
            },
            noReptile: "No related crawler yet"
        },
        btn: {
            setup_time: "setup time",
            editor: "Editor",
            delete: "Delete",
            batch_task: "Start Tasks in Batches",
            sure: "Confirm",
            cancel: "Cancel",
            delSure: "Delete will not be able to recover! Exercise caution",
            copy: "Copy",
            copySure: "Are you sure to copy the task?",
            closeSure: "Are you sure to shut down the task?",
            start: "Start",
            stop: "Suspend"
        },
        options: [
            { id: 1, name: "Name" },
            { id: 2, name: "Descript" },
            { id: 3, name: "Host name" },
            { id: 4, name: "Host IP" },
        ],
        message: {
            selectReptile: "Please select the crawler you want to start",
            startRepSuccess: "Crawler open successfully",
            startRepError: "Crawler startup failed",
            selectTask: " Please select the task you want to start",
            startTaskSuccess: "Task started successfully",
            startTaskError: "Task start failed",
            del_success: "Deleted successfully!",
            del_error: "Delete failed!",
            copy_success: "Copy successful!",
            copy_error: "Replication failed!",
            close_succ: "Closing the task succeeded!",
            close_err: "Failed to close the task!"
        }
    }
}
export default info